/*
 * @Description: 基础类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-07-28 14:12:01
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-07-28 14:17:39
 */

public class Teacher {
  private String name;
  private int age;
  private String gender = "男";

  public void show() {
    String name = "tom";
    int age = 20;
    System.out.println("name:" + name);
    System.out.println("age:" + age);
    System.out.println("gender:" + gender);
  }

  public void disp() {
    String name = "jack";
    int age = 18;
    System.out.println("this.name:" + this.name);
    System.out.println("this.age:" + this.age);
    System.out.println("this.gender:" + this.gender);
  }
}